﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Enum
{
    /// <summary>
    /// 单据状态：0-创建;1-提交;2-审核通过;3-作业中；4-已完成;5-强制完成;6-失效；7-异常
    /// </summary>
    public enum EmBillStatus
    {
        /// <summary>
        /// 创建
        /// </summary>
        [Description("创建")]
        Create = 0,

        /// <summary>
        /// 提交
        /// </summary>
        [Description("提交")]
        Submit =1,

        /// <summary>
        /// 审核通过
        /// </summary>
        [Description("审核通过")]
        Pass = 2,

        /// <summary>
        /// 作业中
        /// </summary>
        [Description("作业中")]
        Executing = 3,

        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        Finished = 4,

        /// <summary>
        /// 强制完成
        /// </summary>
        [Description("强制完成")]
        MandatoryFinished = 5,
        
        /// <summary>
        /// 失效
        /// </summary>
        [Description("失效")]
        Invalid = 6,

        /// <summary>
        /// 异常
        /// </summary>
        [Description("异常")]
        Error = 7,
    }
}
